package com.distribute.pojo.project;

import java.util.Date;

public class Project {
    private int id;
    private long code;

    private Date createTime;

    private String defCount;

    private String description;

    private String instRunningCount;

    private String name;

    private int perm;

    private Date updateTime;

    private int userId;

    private String userName;


    public Project() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDefCount() {
        return defCount;
    }

    public void setDefCount(String defCount) {
        this.defCount = defCount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getInstRunningCount() {
        return instRunningCount;
    }

    public void setInstRunningCount(String instRunningCount) {
        this.instRunningCount = instRunningCount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPerm() {
        return perm;
    }

    public void setPerm(int perm) {
        this.perm = perm;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "Project{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", createTime=" + createTime +
                ", defCount='" + defCount + '\'' +
                ", description='" + description + '\'' +
                ", instRunningCount='" + instRunningCount + '\'' +
                ", name='" + name + '\'' +
                ", perm=" + perm +
                ", updateTime=" + updateTime +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                '}';
    }
}
